package com.ce.pms.house.vo;

import java.util.Date;

import com.ce.pms.common.model.SysrefcodeDO;

public class CompanyVO {
	 	/**
	    * 公司主键
	    */
	   private Long keyword;

	   /**
	    * 公司名称
	    */
	   private String name;

	   /**
	    * 法人
	    */
	   private String corporation;

	   /**
	    * 创建日期
	    */
	   private Date establishDate;
	   /**
	    * 资质Id
	    */
	   private Long qualifyId;
	   /**
	    * 资质code
	    */
	   private String qualifyCode;
	   /**
	    * 资质value
	    */
	   private String qualifyValue;
	   /**
	    * 资质字面值
	    */
	   private String qualifyViewValue;

	   /**
	    * 管理面积
	    */
	   private Double acreage;

	   /**
	    * 公司地址
	    */
	   private String address;
	   /**
	    * 创建人
	    */
	   private Long creator;
	   /**
	    * 修改人
	    */
	   private Long modifier;
	/**
	 * @return the acreage
	 */
	public Double getAcreage() {
		return acreage;
	}
	/**
	 * @param acreage the acreage to set
	 */
	public void setAcreage(Double acreage) {
		this.acreage = acreage;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @return the corporation
	 */
	public String getCorporation() {
		return corporation;
	}
	/**
	 * @param corporation the corporation to set
	 */
	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}
	/**
	 * @return the creator
	 */
	public Long getCreator() {
		return creator;
	}
	/**
	 * @param creator the creator to set
	 */
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	/**
	 * @return the establishDate
	 */
	public Date getEstablishDate() {
		return establishDate;
	}
	/**
	 * @param establishDate the establishDate to set
	 */
	public void setEstablishDate(Date establishDate) {
		this.establishDate = establishDate;
	}
	/**
	 * @return the keyword
	 */
	public Long getKeyword() {
		return keyword;
	}
	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}
	/**
	 * @return the modifier
	 */
	public Long getModifier() {
		return modifier;
	}
	/**
	 * @param modifier the modifier to set
	 */
	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the qualifyCode
	 */
	public String getQualifyCode() {
		return qualifyCode;
	}
	/**
	 * @param qualifyCode the qualifyCode to set
	 */
	public void setQualifyCode(String qualifyCode) {
		this.qualifyCode = qualifyCode;
	}
	/**
	 * @return the qualifyValue
	 */
	public String getQualifyValue() {
		return qualifyValue;
	}
	/**
	 * @param qualifyValue the qualifyValue to set
	 */
	public void setQualifyValue(String qualifyValue) {
		this.qualifyValue = qualifyValue;
	}
	/**
	 * @return the qualifyId
	 */
	public Long getQualifyId() {
		return qualifyId;
	}
	/**
	 * @param qualifyId the qualifyId to set
	 */
	public void setQualifyId(Long qualifyId) {
		this.qualifyId = qualifyId;
	}
	/**
	 * @return the qualifyViewValue
	 */
	public String getQualifyViewValue() {
		return qualifyViewValue;
	}
	/**
	 * @param qualifyViewValue the qualifyViewValue to set
	 */
	public void setQualifyViewValue(String qualifyViewValue) {
		this.qualifyViewValue = qualifyViewValue;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((keyword == null) ? 0 : keyword.hashCode());
		return result;
	}


	/**
	 * 对比两个对象
	 * @author  黄腾飞
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		CompanyVO other = (CompanyVO) obj;
		if (keyword == null) {
			if (other.keyword != null) {
				return false;
			}
		} else if (!keyword.equals(other.keyword)) {
			return false;
		}
		return true;
	}


	
}
